<template>
  <div class="home">
   <h2>About页面的数字{{$store.getters.getNum}}</h2>
  </div>
</template>

<script>

export default {
computed:{
  num(){
    return this.$store.state.num
  }
}
}
</script>
